home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 8 / FM Towns Free Software Collection 8.iso / t_os / artemis / artsrc2 / ryosuke.h < prev    next >
Text File  |  1994-06-01  |  1KB  |  52 lines

  1. // #include <stdio.h>
  2. // #include <ctype.h>
  3. // #include <malloc.h>
  4. // #include <memory.h>
  5. // #include <string.h>
  6. // #include <io.h>
  7. // #include <dos.h>
  8. // #include <stdlib.h>
  9. // #include <egb.h>
  10. // #include <fmcfrb.h>
  11. // #include <conio.h>
  12. // #include <spr.h>
  13. // #include <snd.h>
  14.  
  15. typedef    unsigned char    uchar;
  16. typedef    unsigned char    byte;
  17. typedef    unsigned short    ushort;
  18. typedef    unsigned int    uint;
  19. typedef    unsigned long    ulong;
  20. typedef    unsigned char    bool;
  21. typedef    unsigned char    status;
  22.  
  23. #define    YES    ((bool)1)
  24. #define    NO    ((bool)0)
  25.  
  26. #define    TRUE    ((bool)1)
  27. #define    FALSE    ((bool)0)
  28.  
  29. #define    OK        ((status)0)
  30. #define    ERROR    ((status)-1)
  31.  
  32. #define    VOID    void
  33. #define    BOOL    bool
  34. #define    STATUS    status
  35.  
  36. #define    iskanji(c)    ((0x80<(c)&&(c)<0xa0)||(0xdf<(c)&&(c)<0xfd))
  37. #define    swap(a,b)    { int t;  t=a;  a=b;  b=t; }
  38.  
  39. #define    Begin    {
  40. #define    End        }
  41.  
  42. typedef struct {
  43.     char        *buf;
  44.     short int    bufsel;
  45.     short int    x1,y1,x2,y2;
  46. } para_putBlock;
  47.  
  48. typedef struct {
  49.     short int    num;
  50.     short int    x,y;
  51. } para_pset;
  52.